php date object to timestamp

43

php datetime from timestamp -

$ts = 1171502725;
$date = new DateTime("@$ts");

Comments

Submit
0 Comments